package com.qianclass.talklive.app.bean;

import java.util.List;

/**
 * Author:  Administrator
 * Date:    2017/3/21     12:32
 * TODO:    
 */

public class TranslationBean {

    /**
     * us-phonetic : sss
     * phonetic : sss
     * uk-phonetic : sss
     * explains : ["sa","ss","as","ss"]
     */

    private BasicBean basic;
    /**
     * translation : ["好"]
     * basic : {"us-phonetic":"sss","phonetic":"sss","uk-phonetic":"sss","explains":["sa","ss","as","ss"]}
     * query : good
     * errorCode : 0
     * web : [{"value":["好","善","商品"],"key":"Good"},{"value":["公共物品","公益事业","公共财"],"key":"public good"},{"value":["sss","Good Doctor (TV series)","sss"],"key":"Good Doctor"}]
     */

    private String    query;
    private int          errorCode;
    private List<String> translation;
    /**
     * value : ["好","善","商品"]
     * key : Good
     */

    private List<WebBean> web;

    public BasicBean getBasic() { return basic;}

    public void setBasic(BasicBean basic) { this.basic = basic;}

    public String getQuery() { return query;}

    public void setQuery(String query) { this.query = query;}

    public int getErrorCode() { return errorCode;}

    public void setErrorCode(int errorCode) { this.errorCode = errorCode;}

    public List<String> getTranslation() { return translation;}

    public void setTranslation(List<String> translation) { this.translation = translation;}

    public List<WebBean> getWeb() { return web;}

    public void setWeb(List<WebBean> web) { this.web = web;}

    public static class BasicBean {
        private String       phonetic;
        private List<String> explains;

        public String getPhonetic() { return phonetic;}

        public void setPhonetic(String phonetic) { this.phonetic = phonetic;}

        public List<String> getExplains() { return explains;}

        public void setExplains(List<String> explains) { this.explains = explains;}
    }

    public static class WebBean {
        private String       key;
        private List<String> value;

        public String getKey() { return key;}

        public void setKey(String key) { this.key = key;}

        public List<String> getValue() { return value;}

        public void setValue(List<String> value) { this.value = value;}
    }
}
